<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Further interest list </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<script language=javascript>

function verify(form){
  if(form.name.value==""){
	alert("Enter the name please!");
	form.name.focus();		
       return false;
	}
	return true;
 }

</script>
<link href="/static/css/general.css" rel="stylesheet" type="text/css" media="screen" />
<link href="/static/css/main.css" rel="stylesheet" type="text/css" media="screen" />
</HEAD>

<BODY>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">
	<form name='form1' id='form1' action="/save_fi/" method='post' onsubmit='return verify(this);'>
<table width='80%' class='grid' cellspacing='1' align='center'><tr><td colspan='10' class='title' align="center">Add Further interest</td></tr>
<tr valign='middle' align='left'><td class='odd' width='25%'><font color="red">*</font>Name</td>
<td class='even'><input type="text" name="name" value="" /></td></tr>
<tr valign='middle' align='left'><td class='odd' width='25%'></td>

<td class='even'>&nbsp;<input type='submit' class='button' name='submit'  id='submit' value=' Submit ' onclick="ccc(this.form,this)" /></form></td></tr>

</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">
<table width='80%' class='grid' cellspacing='1' align='center'><tr><td colspan='10' class='title' align="center">Further interest list</td></tr>
<tr valign='middle' align='left'></tr>
  <tr valign='middle' align='left'>
  <td class='odd' width='20%'>ID</td>
  <td class='even' width='50%'>Name</td>
<td class='odd' width='30%'>Operating</td>  

  </tr>
  {% for at in customers %}
 
  <tr valign='middle' align='left'>
  <td class='odd'>{{at.id}}</td>
   <td class='even'>{{at.name}}</td>
<td class='odd' ><a href="/edit_fi/{{ at.id}}">Eidt</a>&nbsp;&nbsp;&nbsp;<a href="/del_fi/{{ at.id}}" onclick="return confirm('Are you sure to delete it?');">Delete</a></td>
  </tr>

  {% endfor %}

      <tr><td  class='even' colspan="10" align="right">
{% if is_paginated %}
                    {% ifequal current_page 1 %}首页 
                    {% else %} <a href="/filist">首页</a>
                    {% endifequal %}
                    {% if has_previous %} <a href="/filist/{{ previous_page }}/">上一页</a>
                    {% else %} 上一页
                    {% endif %}
                    {% if has_next %}<a href="/filist/{{ next_page }}/">下一页</a>
                    {% else %}下一页
                    {% endif %}
                    {% ifequal current_page pages %}最末页
                    {% else %} <a href="/filist/{{ pages }}/">最末页</a>
                    {% endifequal %}
                    &nbsp;&nbsp;
                    当前页：{{ current_page }}/{{ pages }}&nbsp;&nbsp;
                {% endif %}              
               共{{ hits }}条记录
</td></tr>
</table>

</BODY>
</HTML>
